<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<title>
			菜品管理
		</title>
		<script src="{{__PUBLIC__}}/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="{{__PUBLIC__}}/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/hdjs/hdjs.css"/>
		<script src="{{__PUBLIC__}}/bootstrap/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/bootstrap/css/bootstrap.css"/>
	</head>
	<body>
		<h1>
			<a href="{{U('add')}}">
				添加菜品
			</a>
		</h1>
		<table class="hd-table hd-table-list hd-form">
			<thead>
				<tr>
					<th>
						ID
					</th>
					<th>
						名称
					</th>
					<th>
						价格(元)
					</th>
				</tr>
			</thead>
			<tbody>
				{{foreach from="$data" key="$k" value="$v"}}
				<tr>
					<th>
						{{$v['id']}}
					</th>
					<th>
						{{$v['name']}}
					</th>
					<th>
						{{$v['gprice']}}
					</th>
				</tr>
				{{endforeach}}
			</tbody>
		</table>
	</body>
</html>